package iedcyt.acute.controller.listeners.signComparison;

import iedcyt.acute.model.SignComparisonModel;
import iedcyt.acute.view.SignComparisionView;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;

public class Documents2SelectionListener implements Listener {

	private SignComparisonModel _model;
	private SignComparisionView _view;
	
	public Documents2SelectionListener(SignComparisionView view, SignComparisonModel model) {
		this._model = model;
		this._view = view;
	}
	
	public void handleEvent(Event event) {
		Integer idDoc = _view.getSelectedDoc2ID();
		_model.setSelected_sign2IdDoc(idDoc);
	}
}
